﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPageContent.master" AutoEventWireup="false"
    CodeFile="ReceiptVoucher.aspx.vb" Inherits="RecieptVoucher" %>

<%@ Register Src="~/UserControls/DDL.ascx" TagName="DoubleFilteredDropDownList" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/OneFilteredDropDownList.ascx" TagName="OneFilteredDropDownList"
    TagPrefix="uc2" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeaderPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rgReceiptVoucher">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rgReceiptVoucher" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Office2010Blue"
        Transparency="20">
    </telerik:RadAjaxLoadingPanel>
    <br />
    <br />
    <telerik:RadGrid ID="rgReceiptVoucher" runat="server" GridLines="None" DataSourceID="odsReceiptVoucher"
        AllowAutomaticDeletes="True" AllowAutomaticInserts="True" Width="100%" AllowAutomaticUpdates="True"
        AllowPaging="True" AutoGenerateColumns="False" MasterTableView-Dir="<%$ Resources:SystemResource, HTMLDirectionality %>"
        GroupPanel-Text="<%$ Resources:MainGrid ,GroupPanelText %>" CellSpacing="0">
        <HeaderStyle Font-Size="Small" />
        <MasterTableView Width="100%" CommandItemDisplay="TopAndBottom" DataKeyNames="ReceiptVoucherID"
            TableLayout="Fixed" DataSourceID="odsReceiptVoucher" HorizontalAlign="NotSet"
            NoMasterRecordsText="<%$ Resources:MainGrid , NoMasterRecordsText %>">
            <CommandItemTemplate>
                <asp:ImageButton ID="ibtnInitInsert" CausesValidation="false" CommandName="InitInsert"
                    runat="server" ImageUrl="~/Design/images/Grid/AddRecord.gif" />
                <asp:LinkButton ID="lbtnInitInsert" CausesValidation="false" runat="server" Font-Size="14px"
                    Text="<%$ Resources:MainGrid , AddNew %>" Visible="true" CommandName="InitInsert" />
                <asp:ImageButton ID="ibtnEditSelected" CausesValidation="false" CommandName="EditSelected"
                    runat="server" ImageUrl="~/Design/images/Grid/Edit.gif" />
                <asp:LinkButton ID="lbtnEditSelected" CausesValidation="false" runat="server" Font-Size="Medium"
                    Text="<%$ Resources:MainGrid , EditSelected %>" Visible="true" CommandName="EditSelected" />
                <asp:ImageButton ID="ibtnDeleteSelected" CausesValidation="false" CommandName="DeleteSelected"
                    OnClientClick="<%$ Resources:MainGrid , OnClientClickDelete %>" runat="server"
                    ImageUrl="~/Design/images/Grid/Delete.gif" />
                <asp:LinkButton ID="lbtnDeleteSelected" Font-Size="Medium" CausesValidation="false"
                    OnClientClick="<%$ Resources:MainGrid , OnClientClickDelete %>" runat="server"
                    Text="<%$ Resources:MainGrid , DeleteSelected %>" CommandName="DeleteSelected" />
                <asp:ImageButton ID="ibtnRebindGrid" CausesValidation="false" CommandName="RebindGrid"
                    runat="server" ImageUrl="~/Design/images/Grid/Refresh.gif" />
                <asp:LinkButton ID="lbtnRebindGrid" Font-Size="Medium" CausesValidation="false" runat="server"
                    Text="<%$ Resources:MainGrid , Refresh %>" CommandName="RebindGrid" />
            </CommandItemTemplate>
            <Columns>
                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                </telerik:GridEditCommandColumn>
                <telerik:GridBoundColumn DataField="ReceiptFrom" UniqueName="ReceiptFrom_ID" Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ReceiptVoucherID" HeaderText="ReceiptVoucherID"
                    ReadOnly="True" SortExpression="ReceiptVoucherID" UniqueName="ReceiptVoucherID"
                    Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Year" ReadOnly="True" SortExpression="Year" UniqueName="Year"
                    Visible="true" meta:ResourceKey="gbcYear">
                       <HeaderStyle Width="50px" />
                    <ItemStyle  Width="50px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ReceiptVoucherNo" meta:ResourceKey="gbcReceiptVoucherNo"
                    SortExpression="ReceiptVoucherNo" UniqueName="ReceiptVoucherNo">
                         <HeaderStyle Width="70px" />
                    <ItemStyle  Width="70px" />
                </telerik:GridBoundColumn>
                <telerik:GridDropDownColumn DataField="ReceiptFrom" ListTextField="SupplierName"
                    SortExpression="ReceiptFrom" UniqueName="ReceiptFrom" Visible="true" DataSourceID="odsSupplier"
                    ListValueField="SupplierID" meta:ResourceKey="gbcReceiptFrom">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </telerik:GridDropDownColumn>
                <telerik:GridBoundColumn DataField="ReceiptFrom" UniqueName="ReceiptFrom_ID" Visible="false">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Amount" ReadOnly="True" SortExpression="Amount"
                    UniqueName="Amount" meta:ResourceKey="gbcAmount" DataFormatString="{0:###,###.##}">
                </telerik:GridBoundColumn>
                <telerik:GridDateTimeColumn PickerType="DatePicker" SortExpression="ReceiptVoucherDate"
                    DataFormatString="{0:MM/dd/yyyy}" DataField="ReceiptVoucherDate" UniqueName="ReceiptVoucherDate"
                    meta:ResourceKey="gbcReceiptVoucherDate" Visible ="false" >
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </telerik:GridDateTimeColumn>
                <telerik:GridBoundColumn DataField="ReceiptBeingFor" meta:ResourceKey="gbcReceiptBeingFor"
                    SortExpression="ReceiptBeingFor" UniqueName="ReceiptBeingFor">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </telerik:GridBoundColumn>
                <telerik:GridCheckBoxColumn DataField="IsCash" meta:resourcekey="gbcIsCash" SortExpression="IsCash"
                    UniqueName="IsCash" DataType="System.Boolean">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </telerik:GridCheckBoxColumn>
                <telerik:GridBoundColumn DataField="ChequeNo" meta:ResourceKey="gbcChequeNo" SortExpression="ChequeNo"
                    UniqueName="ChequeNo" Visible="false">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </telerik:GridBoundColumn>
                <telerik:GridDateTimeColumn PickerType="DatePicker" SortExpression="ChequeDate" DataFormatString="{0:MM/dd/yyyy}"
                    DataField="ChequeDate" UniqueName="ChequeDate" meta:ResourceKey="gbcChequeDate">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </telerik:GridDateTimeColumn>
                <telerik:GridBoundColumn DataField="ChequeBankName" meta:ResourceKey="gbcChequeBankName"
                    SortExpression="ChequeBankName" UniqueName="ChequeBankName" Visible="false">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </telerik:GridBoundColumn>
                <telerik:GridButtonColumn UniqueName="DeleteColumn" ConfirmText="<%$ Resources:MainGrid , ConfirmDelete %>"
                    ConfirmTitle="Confirm" ButtonType="ImageButton" CommandName="Delete">
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                </telerik:GridButtonColumn>
            </Columns>
            <EditFormSettings ColumnNumber="2" EditFormType="Template" CaptionDataField="BankID">
                <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                <FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
                <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White"
                    Width="100%" />
                <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" />
                <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
                <EditColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1" CancelText="Cancel edit">
                </EditColumn>
                <FormTableButtonRowStyle HorizontalAlign="Left" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
                <FormTemplate>
                    <table id="Table2" cellspacing="2" cellpadding="1" border="0" rules="none">
                        <tr style="margin-bottom: 40px">
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblManYear" runat="server" SkinID="Mandetory" Text="<%$ Resources:Controls, RequiredValidationText %>"></asp:Label>
                                <asp:Label ID="lblYear" runat="server" meta:ResourceKey="lblYear"></asp:Label>
                                
                            </td>
                            <td>
                                <telerik:RadNumericTextBox ID="rntbYear" runat="server" MaxLength="4" Text='<%# Bind("Year") %>'
                                    MaxValue="2200" IncrementSettings-InterceptArrowKeys="true" IncrementSettings-InterceptMouseWheel="true">
                                    <NumberFormat DecimalDigits="0" GroupSizes="4" />
                                </telerik:RadNumericTextBox>
                            </td>
                            <td>
                                <asp:RequiredFieldValidator ID="rfvrntbYear" runat="server" ControlToValidate="rntbYear"
                                    ErrorMessage="<%$ Resources:Controls, ErrorMessage %>" ValidationGroup="valEditMode"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                             <%--   <asp:Label ID="lblManrdpReceiptVoucherDate" runat="server" SkinID="Mandetory" Text="<%$ Resources:Controls, RequiredValidationText %>"></asp:Label>
                                <asp:Label ID="lblReceiptVoucherDate" runat="server" meta:ResourceKey="lblReceiptVoucherDate"></asp:Label>--%>
                                <asp:Label ID="lblRVNo" runat="server" meta:ResourceKey="lblRVNo"></asp:Label>
                            </td>
                            <td>
                             <telerik:RadTextBox ID="rntRVNo" runat="server" Text='<%# Bind("ReceiptVoucherNo") %>'>
                                </telerik:radTextBox>
                               <%-- <telerik:RadDatePicker runat="server" Width="170px" ID="rdpReceiptVoucherDate" Culture="English (United States)"
                                    ShowPopupOnFocus="true" DbSelectedDate='<%# Bind("ReceiptVoucherDate") %>'>
                                    <DateInput ID="DateInput2" DateFormat="dd/MM/yyyy" runat="server">
                                    </DateInput></telerik:RadDatePicker>--%>
                            </td>
                            <td>
                              <%--  <asp:RequiredFieldValidator ID="rfvrdpReceiptVoucherDate" runat="server" ControlToValidate="rdpReceiptVoucherDate"
                                    ErrorMessage="<%$ Resources:Controls, ErrorMessage %>" ValidationGroup="valEditMode"></asp:RequiredFieldValidator>--%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                
                                
                            </td>
                            <td>
                               
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblManrtbReceiptFrom" runat="server" SkinID="Mandetory" Text="<%$ Resources:Controls, RequiredValidationText %>"></asp:Label>
                                <asp:Label ID="lblReceiptFrom" runat="server" meta:ResourceKey="lblReceiptFrom"></asp:Label>
                                
                            </td>
                            <td>
                                <uc2:OneFilteredDropDownList ID="rcbReceiptFrom" runat="server" DataSourceId="odsSupplier"
                                    DataValueField="SupplierID" IsRequired="true" DataTextField="SupplierName" DefaultChoosedItem="ChooseOne"
                                    SelectedValue='<%# Bind("ReceiptFrom") %>' />
                            </td>
                            <td>
                            </td>
                            <td>
                                <asp:Label ID="lblrntbAmount" runat="server" meta:ResourceKey="lblAmount"></asp:Label>
                                
                            </td>
                            <td>
                                <telerik:RadNumericTextBox ID="rntbAmount" runat="server" Text='<%# Bind("Amount") %>'
                                    IncrementSettings-InterceptArrowKeys="true" IncrementSettings-InterceptMouseWheel="true">
                                    <NumberFormat DecimalDigits="3" GroupSizes="4" />
                                </telerik:RadNumericTextBox>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblReceiptBeingFor" runat="server" meta:ResourceKey="lblReceiptBeingFor"></asp:Label>
                                
                            </td>
                            <td>
                                <telerik:RadTextBox ID="rtbReceiptBeingFor" Width="250px" runat="server" Text='<%# Bind("ReceiptBeingFor") %>'>
                                </telerik:RadTextBox>
                            </td>
                            <td>
                            </td>
                            <td>
                                <asp:Label ID="lblIsCash" runat="server" meta:ResourceKey="lblIsCash"></asp:Label>
                                
                            </td>
                            <td>
                                <asp:CheckBox ID="chkIsCash" Checked='<%# Bind("IsCash") %>' SkinID="KeyCheckBox"
                                    runat="server" />
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblChequeNo" runat="server" meta:ResourceKey="lblChequeNo"></asp:Label>
                                
                            </td>
                            <td>
                                <telerik:RadTextBox ID="rtbChequeNo" Width="250px" runat="server" Text='<%# Bind("ChequeNo") %>'>
                                </telerik:RadTextBox>
                            </td>
                            <td>
                            </td>
                            <td>
                                <asp:Label ID="lblChequeDate" runat="server" meta:ResourceKey="lblChequeDate"></asp:Label>
                                
                            </td>
                            <td>
                                <telerik:RadDatePicker runat="server" Width="170px" ID="rdpChequeDate" Culture="English (United States)"
                                    ShowPopupOnFocus="true" DbSelectedDate='<%# Bind("ChequeDate") %>'>
                                    <DateInput ID="DateInput1" DateFormat="dd/MM/yyyy" runat="server">
                                    </DateInput></telerik:RadDatePicker>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblChequeBankName" runat="server" meta:ResourceKey="lblChequeBankName"></asp:Label>
                                
                            </td>
                            <td>
                                <telerik:RadTextBox ID="rtbChequeBankName" Width="250px" runat="server" Text='<%# Bind("ChequeBankName") %>'>
                                </telerik:RadTextBox>
                            </td>
                            <td>
                            </td>
                                       <td>
                                            <asp:Label ID="lblRemarks" runat="server" Text="<%$ Resources:SystemResource, Remarks %>"></asp:Label>
                                        </td>
                                        <td >
                                            <telerik:RadTextBox ID="rtbRemarks" SkinID="Remarks" runat="server" Text='<%# Bind("ChequeRemarks") %>'>
                                            </telerik:RadTextBox>
                                        </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                                <div style="margin-top: 15px">
                                    <telerik:RadButton ID="btnInsert" meta:ResourceKey="btnInsert" Visible='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "True", "False") %>'
                                        runat="server" CommandName="PerformInsert" Icon-PrimaryIconCssClass="rbOk">
                                    </telerik:RadButton>
                                    <telerik:RadButton ID="btnUpdate" meta:ResourceKey="btnUpdate" Visible='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "False", "True") %>'
                                        runat="server" CommandName="Update" CausesValidation="true" Icon-PrimaryIconCssClass="rbOk">
                                    </telerik:RadButton>
                                    &nbsp;
                                    <telerik:RadButton ID="btnCancel" meta:ResourceKey="btnCancel" runat="server" CausesValidation="False"
                                        CommandName="Cancel" Icon-PrimaryIconCssClass="rbCancel">
                                    </telerik:RadButton>
                                </div>
                            </td>
                        </tr>
                    </table>
                </FormTemplate>
            </EditFormSettings>
            <RowIndicatorColumn>
                <HeaderStyle Width="20px" />
            </RowIndicatorColumn>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px" />
            </ExpandCollapseColumn>
            <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                Font-Underline="False" HorizontalAlign="Center" Wrap="True" />
        </MasterTableView>
        <ValidationSettings CommandsToValidate="PerformInsert,Update" ValidationGroup="valEditMode" />
        <ClientSettings AllowDragToGroup="False">
            <Scrolling AllowScroll="false" ScrollHeight="400px" />
            <Selecting AllowRowSelect="True" />
        </ClientSettings>
        <FilterMenu EnableTheming="True">
            <CollapseAnimation Duration="200" Type="OutQuint" />
        </FilterMenu>
        <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
    </telerik:RadGrid>
    <asp:ObjectDataSource ID="odsReceiptVoucher" runat="server" DeleteMethod="QueryDatabase"
        InsertMethod="QueryDatabase" SelectMethod="QueryDatabase" TypeName="DBReceiptVoucherSP"
        UpdateMethod="QueryDatabase">
        <DeleteParameters>
            <asp:Parameter Name="QueryType" Type="Object" />
            <asp:Parameter DefaultValue="DeleteReceiptVoucher" Name="Operation" Type="String" />
            <asp:Parameter Name="ReceiptVoucherID" Type="String" />
            <asp:Parameter Name="Year" Type="String" />
            <asp:Parameter Name="ReceiptVoucherNo" Type="String" />
            <asp:Parameter Name="ReceiptVoucherDate" Type="String" />
            <asp:Parameter Name="ReceiptFrom" Type="String" />
            <asp:Parameter Name="Amount" Type="String" />
            <asp:Parameter Name="ReceiptBeingFor" Type="String" />
            <asp:Parameter Name="IsCash" Type="String" />
            <asp:Parameter Name="ChequeNo" Type="String" />
            <asp:Parameter Name="ChequeDate" Type="String" />
            <asp:Parameter Name="ChequeBankName" Type="String" />
            <asp:Parameter Name="ChequeRemarks" Type="String" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="QueryType" Type="Object" />
            <asp:Parameter DefaultValue="SaveReceiptVoucher" Name="Operation" Type="String" />
            <asp:Parameter Name="ReceiptVoucherID" Type="String" />
            <asp:Parameter Name="Year" Type="String" />
            <asp:Parameter Name="ReceiptVoucherNo" Type="String" />
            <asp:Parameter Name="ReceiptVoucherDate" Type="String" />
            <asp:Parameter Name="ReceiptFrom" Type="String" />
            <asp:Parameter Name="Amount" Type="String" />
            <asp:Parameter Name="ReceiptBeingFor" Type="String" />
            <asp:Parameter Name="IsCash" Type="String" />
            <asp:Parameter Name="ChequeNo" Type="String" />
            <asp:Parameter Name="ChequeDate" Type="String" />
            <asp:Parameter Name="ChequeBankName" Type="String" />
            <asp:Parameter Name="ChequeRemarks" Type="String" />
        </InsertParameters>
        <SelectParameters>
            <asp:Parameter DefaultValue="1" Name="QueryType" Type="Object" />
            <asp:Parameter DefaultValue="RtvReceiptVoucher" Name="Operation" Type="String" />
            <asp:Parameter Name="ReceiptVoucherID" Type="String" />
            <asp:Parameter Name="Year" Type="String" />
            <asp:Parameter Name="ReceiptVoucherNo" Type="String" />
            <asp:Parameter Name="ReceiptVoucherDate" Type="String" />
            <asp:Parameter Name="ReceiptFrom" Type="String" />
            <asp:Parameter Name="Amount" Type="String" />
            <asp:Parameter Name="ReceiptBeingFor" Type="String" />
            <asp:Parameter Name="IsCash" Type="String" />
            <asp:Parameter Name="ChequeNo" Type="String" />
            <asp:Parameter Name="ChequeDate" Type="String" />
            <asp:Parameter Name="ChequeBankName" Type="String" />
            <asp:Parameter Name="ChequeRemarks" Type="String" />
        </SelectParameters>
        <UpdateParameters>
            <asp:Parameter Name="QueryType" Type="Object" />
            <asp:Parameter DefaultValue="SaveReceiptVoucher" Name="Operation" Type="String" />
            <asp:Parameter Name="ReceiptVoucherID" Type="String" />
            <asp:Parameter Name="Year" Type="String" />
            <asp:Parameter Name="ReceiptVoucherNo" Type="String" />
            <asp:Parameter Name="ReceiptVoucherDate" Type="String" />
            <asp:Parameter Name="ReceiptFrom" Type="String" />
            <asp:Parameter Name="Amount" Type="String" />
            <asp:Parameter Name="ReceiptBeingFor" Type="String" />
            <asp:Parameter Name="IsCash" Type="String" />
            <asp:Parameter Name="ChequeNo" Type="String" />
            <asp:Parameter Name="ChequeDate" Type="String" />
            <asp:Parameter Name="ChequeBankName" Type="String" />
            <asp:Parameter Name="ChequeRemarks" Type="String" />
        </UpdateParameters>
    </asp:ObjectDataSource>
    <asp:ObjectDataSource ID="odsSupplier" runat="server" SelectMethod="QueryDatabase"
        TypeName="DBSupplierSP">
        <SelectParameters>
            <asp:Parameter DefaultValue="1" Name="QueryType" Type="Object" />
            <asp:Parameter DefaultValue="RtvSupplier" Name="Operation" Type="String" />
            <asp:Parameter Name="SupplierID" Type="String" />
            <asp:Parameter Name="SupplierName" Type="String" />
            <asp:Parameter Name="Mobile" Type="String" />
            <asp:Parameter Name="Tel" Type="String" />
            <asp:Parameter Name="Address" Type="String" />
            <asp:Parameter Name="WebAddress" Type="String" />
            <asp:Parameter Name="Email" Type="String" />
            <asp:Parameter Name="BankID" Type="String" />
            <asp:Parameter Name="BankAccountsID" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>
